using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace WPCoco
{
    /// <summary>
    /// Allow to store texture region data
    /// </summary>
    public interface ITextured : ITextureReference
    {
        /// <summary>
        /// Region of the texture
        /// </summary>
        Rectangle TextureRegion { get; set; }

        /// <summary>
        /// Trim used for the specified region
        /// </summary>
        Trim TextureTrim { get; set; }
        
        /// <summary>
        /// Copy state from another texture frame
        /// </summary>
        /// <param name="frame"></param>
        void SetTextureFrame(TextureFrame frame);
    }
}
